home *** CD-ROM | disk | FTP | other *** search
/ Minami 55 / MINAMI55.ISO / Varios / Juegos / 02 - Samurai_vs_Ninjas.swf / scripts / DefineSprite_160 / frame_5 / PlaceObject2_78_5 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2004-10-04  |  829b  |  25 lines

  1. onClipEvent(enterFrame){
  2.    var judge;
  3.    if(this.hitTest(_root.main.dr0.dr1.s || _root.main.dr0.dr1.z0.s || _root.main.dr0.dr1.s1 || _root.main.dr0.dr1.p1.s || _root.main.dr0.dr1.z1.s))
  4.    {
  5.       judge = 1;
  6.    }
  7.    if(this.hitTest(_root.main.dr1.dr1.s || _root.main.dr1.dr1.z0.s || _root.main.dr1.dr1.s1 || _root.main.dr1.dr1.p1.s || _root.main.dr1.dr1.z1.s))
  8.    {
  9.       judge = 1;
  10.    }
  11.    if(this.hitTest(_root.main.dr2.dr1.s || _root.main.dr2.dr1.z0.s || _root.main.dr2.dr1.s1 || _root.main.dr2.dr1.p1.s || _root.main.dr2.dr1.z1.s))
  12.    {
  13.       judge = 1;
  14.    }
  15.    if(this.hitTest(_root.main.dr3.dr1.s || _root.main.dr3.dr1.z0.s || _root.main.dr3.dr1.s1 || _root.main.dr3.dr1.p1.s || _root.main.dr3.dr1.z1.s))
  16.    {
  17.       judge = 1;
  18.    }
  19.    if(judge == 1)
  20.    {
  21.       _root.ls0 = 1;
  22.    }
  23.    judge = -1;
  24. }
  25.